package com.tfh.strategy;

import java.math.BigDecimal;
import java.util.List;

public class User {
    private Factory factory;

    public void setFactory(Factory factory){
        this.factory = factory;
    }

    public List<BigDecimal> inject(BigDecimal water){
        return this.factory.calc(water);
    }
}
